<?php
App::uses('AppController', 'Controller');
/**
 * ElementsController Controller
 *
 * @property Element $Element
 */
class ElementsController extends AppController {
	public function form_creer() {
		$this->loadModel('Site');
		$this->loadModel('Question');
		$services = $this->Site->questions_a_afficher();
		$questions_sites = $this->Question->toutesLesQuestionsSurSite();
		$questionsavecarticles = $this->Site->recuperer_articles();
		$questionscombos = $this->Site->recup_reponses_listes();
		$this->set('services', $services);
		$this->set('questions_sites', $questions_sites);
		$this->set('questionsavecarticles', $questionsavecarticles);
		$this->set('questionscombos', $questionscombos);
		$this->layout = '';
	}
}
